﻿namespace GoodAdmin.System;

/// <summary>
/// 认证服务
/// </summary>
public interface IAuthService
{
    /// <summary>
    /// 登录
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<LoginOutput> Login(LoginInput input);
    /// <summary>
    /// 退出登录
    /// </summary>
    /// <returns></returns>
    void LoginOut(string token);

    /// <summary>
    /// 获取配置
    /// </summary>
    /// <returns></returns>
    Task<dynamic> GetLoginConfig();
    /// <summary>
    /// 获取验证码
    /// </summary>
    /// <returns></returns>
    dynamic GetCaptcha();
    
}
